package blog.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 标签
 */
@Data @NoArgsConstructor
public class Tag {
    //标签Id
    private Integer tagId;
    //标签名
    private String tagName;
    //标签描述
    private String tagDescription;
    //文章数(非数据库字段)
    private Integer tagArticleCount;

    public Tag(Integer tagId) {
        this.tagId = tagId;
    }
}
